/* 
	该文件专门为Count组件生成action对象
*/
import {INCREMENT,DECREMENT} from './constant'

export const createIncrementAction = (number) => ({type:INCREMENT,data:number})

export const createDecrementAction = (number) => ( {type:DECREMENT,data:number})